package com.ruoyi.logistic.service.impl;

import com.ruoyi.logistic.domain.NetworkAbnormalData;
import com.ruoyi.logistic.mapper.NetworkAbnormalDataMapper;
import com.ruoyi.logistic.service.INetworkAbnormalDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NetworkAbnormalDataServiceImpl implements INetworkAbnormalDataService {
    @Autowired
    private NetworkAbnormalDataMapper networkAbnormalDataMapper;
    @Override
    public List<NetworkAbnormalData> selectAll() {
        return networkAbnormalDataMapper.selectAll();
    }

    @Override
    public NetworkAbnormalData findById(Integer id) {
        return networkAbnormalDataMapper.findById(id);
    }

    @Override
    public Boolean insert(NetworkAbnormalData networkAbnormalData) {
        return networkAbnormalDataMapper.insert(networkAbnormalData);
    }

    @Override
    public Boolean update(NetworkAbnormalData networkAbnormalData) {
        return networkAbnormalDataMapper.update(networkAbnormalData);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return networkAbnormalDataMapper.deleteById(id);
    }
}
